
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class CaseArm extends org.xteam.parser.runtime.AstNode {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getCaseArmType();
	}
	
	protected org.xteam.parser.runtime.AstList<Expression> constants;
	protected Statement statement;
	
	public CaseArm(Span span, org.xteam.parser.runtime.AstList<Expression> constants,Statement statement) {
		super(span);
		this.constants = constants;
		this.statement = statement;
	}
	
	
	public org.xteam.parser.runtime.AstList<Expression> getConstants() {
		return constants;
	}
	
	public void setConstants(org.xteam.parser.runtime.AstList<Expression> constants) {
		this.constants = constants;
	}
	
	public Statement getStatement() {
		return statement;
	}
	
	public void setStatement(Statement statement) {
		this.statement = statement;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitCaseArm(this);
	}
}
